package curiosity.modelo;

public class Postulacion {

	private int idpostulacion;
	private String seleccionar_aviso;
	private String postular_aviso;
	private String descripcion;
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((descripcion == null) ? 0 : descripcion.hashCode());
		result = prime * result + idpostulacion;
		result = prime * result
				+ ((postular_aviso == null) ? 0 : postular_aviso.hashCode());
		result = prime
				* result
				+ ((seleccionar_aviso == null) ? 0 : seleccionar_aviso
						.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Postulacion other = (Postulacion) obj;
		if (descripcion == null) {
			if (other.descripcion != null)
				return false;
		} else if (!descripcion.equals(other.descripcion))
			return false;
		if (idpostulacion != other.idpostulacion)
			return false;
		if (postular_aviso == null) {
			if (other.postular_aviso != null)
				return false;
		} else if (!postular_aviso.equals(other.postular_aviso))
			return false;
		if (seleccionar_aviso == null) {
			if (other.seleccionar_aviso != null)
				return false;
		} else if (!seleccionar_aviso.equals(other.seleccionar_aviso))
			return false;
		return true;
	}
	
	
	
	
	
	
	
	
}
